package org.edu.modules.portal.vo;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;


@TableName("ve_site_book")
@ApiModel(value = "VeSiteBookAddVO对象", description = "在线留言")
public class VeSiteBookAddVO
        implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty("栏目ID")
    private Integer cateid;
    @ApiModelProperty("留言用户ID")
    private Integer userid;
    @ApiModelProperty("用户姓名")
    private String username;

    public org.edu.modules.portal.vo.VeSiteBookAddVO setCateid(Integer cateid) {
        this.cateid = cateid;
        return this;
    }

    @ApiModelProperty("留言内容")
    private String content;
    @ApiModelProperty("标题")
    private String title;
    @ApiModelProperty("站点ID")
    private Integer siteid;
    @ApiModelProperty("终端系统ID")
    private Integer terminalid;
    @ApiModelProperty("多租户id")
    private Integer placeId;

    public org.edu.modules.portal.vo.VeSiteBookAddVO setUserid(Integer userid) {
        this.userid = userid;
        return this;
    }

    public org.edu.modules.portal.vo.VeSiteBookAddVO setUsername(String username) {
        this.username = username;
        return this;
    }

    public org.edu.modules.portal.vo.VeSiteBookAddVO setContent(String content) {
        this.content = content;
        return this;
    }

    public org.edu.modules.portal.vo.VeSiteBookAddVO setTitle(String title) {
        this.title = title;
        return this;
    }

    public org.edu.modules.portal.vo.VeSiteBookAddVO setSiteid(Integer siteid) {
        this.siteid = siteid;
        return this;
    }

    public org.edu.modules.portal.vo.VeSiteBookAddVO setTerminalid(Integer terminalid) {
        this.terminalid = terminalid;
        return this;
    }

    public org.edu.modules.portal.vo.VeSiteBookAddVO setPlaceId(Integer placeId) {
        this.placeId = placeId;
        return this;
    }

    public String toString() {
        return "VeSiteBookAddVO(cateid=" + getCateid() + ", userid=" + getUserid() + ", username=" + getUsername() + ", content=" + getContent() + ", title=" + getTitle() + ", siteid=" + getSiteid() + ", terminalid=" + getTerminalid() + ", placeId=" + getPlaceId() + ")";
    }


    public boolean equals(Object o) {
        if (o == this) return true;
        if (!(o instanceof org.edu.modules.portal.vo.VeSiteBookAddVO)) return false;
        org.edu.modules.portal.vo.VeSiteBookAddVO other = (org.edu.modules.portal.vo.VeSiteBookAddVO) o;
        if (!other.canEqual(this)) return false;
        Object this$cateid = getCateid(), other$cateid = other.getCateid();
        if ((this$cateid == null) ? (other$cateid != null) : !this$cateid.equals(other$cateid)) return false;
        Object this$userid = getUserid(), other$userid = other.getUserid();
        if ((this$userid == null) ? (other$userid != null) : !this$userid.equals(other$userid)) return false;
        Object this$siteid = getSiteid(), other$siteid = other.getSiteid();
        if ((this$siteid == null) ? (other$siteid != null) : !this$siteid.equals(other$siteid)) return false;
        Object this$terminalid = getTerminalid(), other$terminalid = other.getTerminalid();
        if ((this$terminalid == null) ? (other$terminalid != null) : !this$terminalid.equals(other$terminalid))
            return false;
        Object this$placeId = getPlaceId(), other$placeId = other.getPlaceId();
        if ((this$placeId == null) ? (other$placeId != null) : !this$placeId.equals(other$placeId)) return false;
        Object this$username = getUsername(), other$username = other.getUsername();
        if ((this$username == null) ? (other$username != null) : !this$username.equals(other$username)) return false;
        Object this$content = getContent(), other$content = other.getContent();
        if ((this$content == null) ? (other$content != null) : !this$content.equals(other$content)) return false;
        Object this$title = getTitle(), other$title = other.getTitle();
        return !((this$title == null) ? (other$title != null) : !this$title.equals(other$title));
    }

    protected boolean canEqual(Object other) {
        return other instanceof org.edu.modules.portal.vo.VeSiteBookAddVO;
    }

    public int hashCode() {
        int PRIME = 59;
        Integer result = 1;
        Object $cateid = getCateid();
        result = result * 59 + (($cateid == null) ? 43 : $cateid.hashCode());
        Object $userid = getUserid();
        result = result * 59 + (($userid == null) ? 43 : $userid.hashCode());
        Object $siteid = getSiteid();
        result = result * 59 + (($siteid == null) ? 43 : $siteid.hashCode());
        Object $terminalid = getTerminalid();
        result = result * 59 + (($terminalid == null) ? 43 : $terminalid.hashCode());
        Object $placeId = getPlaceId();
        result = result * 59 + (($placeId == null) ? 43 : $placeId.hashCode());
        Object $username = getUsername();
        result = result * 59 + (($username == null) ? 43 : $username.hashCode());
        Object $content = getContent();
        result = result * 59 + (($content == null) ? 43 : $content.hashCode());
        Object $title = getTitle();
        return result * 59 + (($title == null) ? 43 : $title.hashCode());
    }


    public Integer getCateid() {
        /* 36 */
        return this.cateid;
    }

    public Integer getUserid() {
        /* 39 */
        return this.userid;
    }

    public String getUsername() {
        /* 42 */
        return this.username;
    }

    public String getContent() {
        return this.content;
    }

    public String getTitle() {
        /* 48 */
        return this.title;
    }

    public Integer getSiteid() {
        /* 51 */
        return this.siteid;
    }

    public Integer getTerminalid() {
        /* 54 */
        return this.terminalid;
    }

    public Integer getPlaceId() {
        return this.placeId;
    }
}

